s@lm@n
Microsoft
Exam 70-494
Recertification for MCSD: Web Applications
Version: 7.0
[ Total Questions: 77 ]
http://certkill.com
✑
✑
✑
✑
✑
✑
✑
✑
✑
Topic 1, Scenario 1
Background
You are developing an online bookstore web application that will be used by your
company's customers.
Technical Requirements
General requirements:
The web store application must be an ASP.NET MVC application written in Visual
Studio.
The application must connect to a Microsoft SQL database.
The GetTop100Books() method is mission critical and must return data as quickly
as possible. It should take advantage of fast forward-only, read-only methods of
reading data.
The ImportBooks() method must keep a copy of the data that can be accessed
while new books are being imported without blocking reads.
The CreateMonthlyTotalsReport() method must lock the data and prevent others
from updating or inserting new rows until complete.
The college textbook area of the web application must get data from a daily
updated CSV file.
The children's book area of the web application must get data directly from a local
database. It must use a connection string. It must also support access to the
stored procedures on the database. Further, it is required to have strongly typed
objects. Finally, it will require access to databases from multiple vendors and
needs to support more than one-to-one mapping of database tables.
The cookbook functionality is contained within a client-side application that must
connect to the server using HTTP and requires access to the data using
JavaScript.
The BookApiController class must have a method that is able to perform ad-hoc
queries using OData.
The RESTful API of the bookstore must expose the following endpoints.
Microsoft 70-494 : Practice Test
2
http://certkill.com
Application Structure
Microsoft 70-494 : Practice Test
3
http://certkill.com
Microsoft 70-494 : Practice Test
4
http://certkill.com
Microsoft 70-494 : Practice Test
5
http://certkill.com
PurchaseOrders.xml
Microsoft 70-494 : Practice Test
6
http://certkill.com
Featured Books.xml
Microsoft 70-494 : Practice Test
7
http://certkill.com
You need to configure the server to self-host the bookstore's Web API application.
You have the following code:
Which code segments should you include in Target 1 and Target 2 to complete the code?
(To answer, drag the appropriate code segments to the correct targets in the answer area.
Each code segment may be used once, more than once, or not at all. You may need to
drag the split bar between panes or scroll to view content.)
Question No : 1 DRAG DROP - (Topic 1)
Microsoft 70-494 : Practice Test
8
http://certkill.com
Answer:
You need to choose the appropriate data access strategy for the college textbook area of
the web application.
Which data access technology should you implement?
A. WCF Data Services
B. ADO.NET
C. Entity Data Model (EDM)
D. LINQ to SQL
Answer: D
Question No : 2 - (Topic 1)
Microsoft 70-494 : Practice Test
9
http://certkill.com
You need to choose the appropriate data access technology for the children's book area of
the web application.
Which data access technology should you choose?
A. ADO.NET Entity Framework
B. Web Service
C. LINQ to SQL
D. WCF Data Services
Answer: A
You need to implement the Get() method in the bookstore Web API application to be able
to find books by using an ad hoc query.
Which method should you use?
Question No : 3 - (Topic 1)
Question No : 4 - (Topic 1)
Microsoft 70-494 : Practice Test
10
http://certkill.com